<div class="margin-top">
    <div class="row margin-top-lg">
        <div class="col-lg-2 padding-right-xs padding-left-xl">
            <input v-model="marketWayPicInfo.conditions.name" type="text" :placeholder="vc.i18n('请填写名称','addMarketPic')"
                class="form-control">

        </div>
        <div class="col-lg-2 padding-right-xs padding-right-xl ">
            <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
                v-on:click="_queryMarketPicMethod()">
                查询
            </button>
            <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddMarketPicModal()">
                <i class="glyphicon glyphicon-plus"></i>
                <span>
                    <vc:i18n name="添加" namespace="marketPicManage"></vc:i18n>
                </span>
            </button>
        </div>
    </div>
    <div class="margin-top">
        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
            <thead>
                <tr>
                    <!-- <th class="text-center"><span>
                            <vc:i18n name='编号' namespace='marketPicManage'></vc:i18n>
                        </span></th> -->
                    <th class="text-center"><span>
                            <vc:i18n name='图片' namespace='marketPicManage'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='名称' namespace='marketPicManage'></vc:i18n>
                        </span></th>

                    <th class="text-center"><span>
                            <vc:i18n name='访问地址' namespace='marketPicManage'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='创建时间' namespace='marketPicManage'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='备注' namespace=' marketPicManage'></vc:i18n>
                        </span></th>
                    <th class="text-center"><span>
                            <vc:i18n name='操作'></vc:i18n>
                        </span></th>


                </tr>
            </thead>
            <tbody>
                <tr v-for="marketPic in marketWayPicInfo.marketPics">
                    <!-- <td class="text-center">{{marketPic.picId}}</td> -->
                    <td class="text-center" style="white-space: nowrap;">
                        <img style="width: 60px; height: 60px;" class="border-radius" v-if="marketPic.picUrl"
                            v-bind:src="marketPic.picUrl" v-on:click="_viewMarketWayPicImage(marketPic.picUrl)" />
                        <img style="width: 60px; height: 60px;" class="border-radius" v-else src="/img/noPhoto.jpg" />
                    </td>
                    <td class="text-center">{{marketPic.name}}</td>
                    <td class="text-center">{{marketPic.picLink}}</td>
                    <td class="text-center">{{marketPic.createTime}}</td>
                    <td class="text-center">{{marketPic.remark}}</td>
                    <td class="text-center">
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs" v-on:click="_openEditMarketPicModel(marketPic)"><span>
                                    <vc:i18n name='修改'></vc:i18n>
                                </span></button>
                        </div>
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs"
                                v-on:click="_openDeleteMarketPicModel(marketPic)"><span>
                                    <vc:i18n name='删除'></vc:i18n>
                                </span></button>
                        </div>
                    </td>

                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="7">
                        <ul class="pagination float-right"></ul>
                    </td>
                </tr>
            </tfoot>
        </table>

        <!-- 分页 -->
        <vc:create path="frame/paginationPlus" namespace="marketWayPic"></vc:create>
    </div>

    <vc:create path="admin/addMarketPic" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="admin/editMarketPic"></vc:create>
    <vc:create path="admin/deleteMarketPic"></vc:create>
</div>